from django.core.cache import caches
from rest_framework import serializers
from rest_framework.exceptions import ValidationError

from xuanba_model.models import UserCustomize, UserDefault


class CustomizeSimpleSerializer(serializers.ModelSerializer):

    class Meta:
        model = UserCustomize
        fields = '__all__'


class UserDefaultSimpleSerializer(serializers.ModelSerializer):

    class Meta:
        model = UserDefault
        fields = '__all__'
